<?php

//shop管理
Route::group(array('namespace'=>'Admin\Lesson','prefix' => 'lesson','middleware'=>'System'), function(){

    Route::get('/', function () {
        return view('admin.lesson.index')
            ->with('_system', 'lesson')
            ->with('_index', 'am-active');
    });
    
    Route::resource('category', 'CategoryController');


});
